package com.situ.blog.dao;

import com.situ.blog.pojo.Type;
import com.situ.blog.pojo.query.TypeQuery;

import java.util.List;

public interface ITypeDao {
    List<Type> selectByPage(TypeQuery typeQuery);
    int selectTotalCount(TypeQuery typeQuery);

    void add(Type type);

    List<Type> selectAll();
}
